Assessment of physical and cognitive function